package me.sealer.reflection.model;

import java.util.Date;

/**
 * @author sealer
 * @date 2016/10/10
 * @email 1178884049@qq.com
 */
public class User {
    private int id;
    private String username;
    private String sex;
    private Date birthday;

    public User() {
        this.id = 1;
        this.username = "sealer";
        this.sex = "male";
        this.birthday = new Date();
    }

    public User(String username, String sex, Date birthday) {
        this.username = username;
        this.sex = sex;
        this.birthday = birthday;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public Date getBirthday() {
        return birthday;
    }

    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }

    @Override
    public String toString() {
        return "AnnotationUser{" +
                "id=" + id +
                ", username='" + username + '\'' +
                ", sex='" + sex + '\'' +
                ", birthday='" + birthday + '\'' +
                '}';
    }
}
